From: kfraser@localhost.localdomain Date: Fri, 31 Aug 2007 11:12:27 +0000 (+0100) Subject: Fix handling of auto-generated file xsm.py. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14987^2~26 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=e6f4576ed5f3e6a289f911d93e578c4b6ade3e2d;p=xen.git Fix handling of auto-generated file xsm.py. Signed-off-by: Keir Fraser --- diff --git a/.hgignore b/.hgignore index 0b155addc5..2f1962d1a0 100644 --- a/.hgignore +++ b/.hgignore @@ -149,6 +149,7 @@ ^tools/misc/xenperf$ ^tools/pygrub/build/.*$ ^tools/python/build/.*$ +^tools/python/xen/util/xsm/xsm\.py$ ^tools/security/secpol_tool$ ^tools/security/xen/.*$ ^tools/security/xensec_tool$ diff --git a/tools/python/Makefile b/tools/python/Makefile index 832808237a..880a19c9ff 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -23,10 +23,10 @@ CATALOGS = $(patsubst %,xen/xm/messages/%.mo,$(LINGUAS)) NLSDIR = /usr/share/locale .PHONY: build buildpy -buildpy: +buildpy: xsm.py CC="$(CC)" CFLAGS="$(CFLAGS)" XEN_SECURITY_MODULE="$(XEN_SECURITY_MODULE)" python setup.py build -build: xsm.py buildpy refresh-pot refresh-po $(CATALOGS) +build: buildpy refresh-pot refresh-po $(CATALOGS) # NB we take care to only update the .pot file it strings have # actually changed. This is complicated by the embedded date diff --git a/tools/python/xen/util/xsm/xsm.py b/tools/python/xen/util/xsm/xsm.py deleted file mode 100644 index 92b8c3061b..0000000000 --- a/tools/python/xen/util/xsm/xsm.py +++ /dev/null @@ -1,9 +0,0 @@ -XEN_SECURITY_MODULE = "flask" -from xsm_core import * - -import xen.util.xsm.flask.flask as xsm_module - -xsm_init(xsm_module) -from xen.util.xsm.flask.flask import * -del xsm_module -